<template>
  <div id="app">
    <Bug v-if="(this.$route.path !== '/login') && (this.$route.path !== '/')"/>
    <router-view />
  </div>
</template>

<script>
import Bug from "@/Bug";
export default  {
  data(){
    return{
      ibShow:true
    }
  },

  name:  'App',
  components:{
    Bug
  },
  created() {
    console.log((this.$route.path !== '/login') && (this.$route.path !== '/'))
    console.log(this.$route.path)
  },
  metaInfo() {
        return {
            title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
            titleTemplate: title => {
                return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
            }
        }
    }
}
</script>
